package com.test.qpbgboot.backend.service;

import com.test.qpbgboot.backend.pojo.dto.BackendAccountLoginParam;
import com.test.qpbgboot.backend.pojo.dto.BackendAccountQuery;
import com.test.qpbgboot.backend.pojo.dto.BackendAccountSaveParam;
import com.test.qpbgboot.backend.pojo.dto.OperationLogQuery;
import com.test.qpbgboot.backend.pojo.vo.BackendAccountVO;
import com.test.qpbgboot.backend.pojo.vo.OperationLogVO;

import javax.validation.Valid;
import java.util.List;

public interface BackendService {
    List<BackendAccountVO> backendAccountSelect(@Valid BackendAccountQuery backendAccountQuery);

    void backendAccountSave(@Valid BackendAccountSaveParam backendAccountSaveParam);

    void backendAccountLogOff(Long accountId);

    List<OperationLogVO> operationLogSelect(@Valid OperationLogQuery operationLogQuery);

    BackendAccountVO backendAccountLogin(@Valid BackendAccountLoginParam backendAccountLoginParam);
}
